<?php
$this->pageTitle=Lang::t('item.page.title');
$this->breadcrumbs[]=Lang::t('item.page.breadcrumbs');
$this->metaTags=array(
    'description'=>'werewr',
    'keywords'=>'werwer',
);
?>

<div class="product-catalog-page">
<h1><?php echo Lang::t('item.page.title'); ?></h1>

<?php
$dataProvider->pagination->pageSize = Yii::app()->request->getParam('pageSize_', 12);
$this->widget('ext.extended.ListView', array(
    'dataProvider' => $dataProvider,
    'ajaxUpdate' => false,
    'itemsCssClass' => 'product-catalog-item clear',
    //'pagerCssClass' => 'pager',
    //'dropDownCssClass' => 'dropdownSelector',
    //'summaryCssClass' => '',
    //'sorterCssClass' => '',
    'dropDowns' => array(
        'sort' => array(
            'label' => Lang::t('page.lbl.sort'),
            'dropDownVar' => 'sort_',
            'cssClass'=>'sort',
            'default' => 'position-desc',
            'items' => array(
                'position-asc' => 'Low to high',
                'position-desc' => 'High to low',
                'price-asc' => 'Low price to high price',
                'price-desc' => 'High price to low price',
            ),
        ),
        'pageSize' => array(
            'label' => Lang::t('page.lbl.results.per.page'),
            'dropDownVar' => 'pageSize_',
            'cssClass'=>'page-size',
            'default' => Yii::app()->params['defaultPageSize'],
            'items' => array(
                12 => 12,
                20 => 20,
                50 => 50,
            ),
        ),
    ),
    'itemView' => '_view',
));
?>
</div><!--product-catalog-page-->